﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.Model;
using BI.CF.PageList;

namespace BI.CF.IDAL
{
    public interface MyAccountIDAL
    {
        /// <summary>
        /// 显示用户的账户资金
        /// </summary>
        /// <param name="Userid"></param>
        /// <returns></returns>
        MemPropertyModel MemProperty(int Userid);
        /// <summary>
        /// 用户充值执行
        /// </summary>
        /// <param name="?"></param>
        /// <returns></returns>
        int MemPropertyUpd(decimal RechargeMoney, string RechargeMode, DateTime RechargeTime, int UserId);
        /// <summary>
        /// 修改用户头像
        /// </summary>
        /// <param name="UserId"></param>
        /// <param name="ImageUrl"></param>
        /// <returns></returns>
        int HeadImageUpdate(int UserId, string ImageUrl);
        /// <summary>
        /// 显示用户充值记录
        /// </summary>
        /// <param name="Minmoney">充值最小金额</param>
        /// <param name="Maxmoney">充值最大金额</param>
        /// <param name="Mintime">充值起始时间</param>
        /// <param name="Maxtime">充值结束时间</param>
        /// <param name="RechargeMode">充值方式</param>
        /// <param name="UserId">充值人ID</param>
        /// <param name="PageIndex">当前页</param>
        /// <param name="PageSize">每页显示几条</param>
        /// <returns></returns>
        Pager<RechargeRecordModel> ShowRechargeRecord(decimal Minmoney, decimal Maxmoney, DateTime Mintime, DateTime Maxtime, string RechargeMode, int UserId, int PageIndex, int PageSize);
    }
}
